Skip to content

Adding bitcask#each_key iterator and ability to skip tombstones#1

Open
grourk wants to merge 2 commits into9ce813a00fbfc5c69d04579a403ac4fdce2ce525from
HEAD
Open

Adding bitcask#each_key iterator and ability to skip tombstones#1
grourk wants to merge 2 commits into9ce813a00fbfc5c69d04579a403ac4fdce2ce525from
HEAD

Conversation

@grourk
Copy link
Owner

@grourk grourk commented Jun 17, 2011

When iterating just the keys, if you want only the valid keys (non-tombstones) we can avoid reading the value if it's obviously not a tombstone (based on size).

At least in our case (large data values), this increases the performance of listing keys drastically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant